<div class="subnav">
    <?php echo l('管理员列表', array('admin/index')); ?><span>|</span>
    <?php echo l('修改密码', array('admin/update'), array('class' => 'on')); ?>
</div>
<div class="content">
    <div class="box">
        <div class="form">
            <?php
            $form = $this->beginWidget('CActiveForm', array(
                'id' => 'admin-form',
                'enableAjaxValidation' => true,
                    ));
            ?>
            <?php echo $form->errorSummary($model); ?>
            <table cellspacing="0" cellpadding="0" class="Ftable">
                <tbody>
                    <tr>
                        <th width="15%"><?php echo $form->labelEx($model, 'oldPassword'); ?></th>
                        <td>
                            <div class="label"><?php echo $form->passwordField($model, 'oldPassword', array('size' => 32, 'maxlength' => 32)); ?></div>
                            <?php echo $form->error($model, 'oldPassword'); ?>
                        </td>
                    </tr>
                    <tr>
                        <th><?php echo $form->labelEx($model, 'password'); ?></th>
                        <td>
                            <div class="label"><?php echo $form->passwordField($model, 'password', array('value' => '', 'size' => 32, 'maxlength' => 32)); ?></div>
                            <?php echo $form->error($model, 'password'); ?>
                        </td>
                    </tr>
                    <tr>
                        <th><?php echo $form->labelEx($model, 'confirmPassword'); ?></th>
                        <td>
                            <div class="label"><?php echo $form->passwordField($model, 'confirmPassword', array('value' => '', 'size' => 32, 'maxlength' => 32)); ?></div>
                            <?php echo $form->error($model, 'confirmPassword'); ?>
                        </td>
                    </tr>
                    <tr>
                        <th></th>
                        <td><?php echo CHtml::submitButton('修改'); ?></td>
                    </tr>
            </table>
            <?php $this->endWidget(); ?>
        </div>
    </div>
</div>